﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SocialKit.QQPengyou;

namespace PengyouConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            var py = new PengyouApiClient(1000L, "your_app_key", "your_app_name");

            //for test
            var openId = "your_openid";
            var openKey = "your_openkey";

            var id1 = "00000000000000000000000006E1D524";
            var id2 = "00000000000000000000000006D2313D";
            var id3 = "00000000000000000000000006C738A6";

            //api
            try
            {
                var a = py.GetUserInfo(openId, openKey);
                var b = py.GetUsers(openId, openKey, id1, id2, id3);
                var c = py.IsSetuped(openId, openKey);
                var d = py.GetEmotions(openId, openKey, id1, id2, id3);
                var e = py.IsFriend(openId, openKey, id1);
                var f = py.GetFriends(openId, openKey);
                var g = py.IsVip(openId, openKey);
            }
            catch (PengyouException pex)
            {
                Console.WriteLine(pex);
            }
        }
    }
}
